package my.dao.impl.rowmapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import my.dao.DaoException;
import my.dao.RowMapper;

public class StringRowMapperImpl implements RowMapper<String> {
	
	
	private static StringRowMapperImpl instance=new StringRowMapperImpl();
	
	public static StringRowMapperImpl getInstance(){
		return instance;
	}
	
	private StringRowMapperImpl(){}

	public String currRow2Obj(ResultSet rs) throws SQLException,
			DaoException {
		
		return rs.getString(1);
	}

}
